package org.paraj.mapreduce;

import java.util.Collection;

/**
 * Created by IntelliJ IDEA.
 * User: piotrga
 * Date: Nov 11, 2008
 * Time: 7:27:03 PM
 * To change this template use File | Settings | File Templates.
 */
public interface ComplexTask<RESULT, INTERMEDIATE> extends Task<RESULT>{
    Collection<? extends Task> generateSubtasks();
    ResultAggregator<RESULT, INTERMEDIATE> getResultAggregator();
}
